using UnityEngine;

namespace Core.Runtime
{
    public class PersistentObject
    {
        /// <summary>
        /// 优先级越高，先别执行，晚被释放
        /// </summary>
        public int Priority;
        public GameObject GameObject;

        public PersistentObject(int priority, GameObject go)
        {
            Priority = priority;
            GameObject = go;
        }
    }
}